package com.pccw.ssh.daoTest.methodI;

import com.pccw.ssh.dao.StockDao;
import com.pccw.ssh.domain.Stock;
import com.pccw.ssh.testFactory.SpringBeanFactoryMethodI;

public class TestStockDaoMethodI {
	
	public static void main(String[] args){
		testAdd();
	}
	private static void testAdd(){
		StockDao stockDao = (StockDao) SpringBeanFactoryMethodI.getBean("stockDao");
		stockDao.add(new Stock("6012992","China-North Car","10"));
	}
}
